<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>修改例会记录</title>
		<style type="text/css">
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

a {
	font-size: 12px;
	color:#000;
	text-decoration: none;
	font-weight:bold;
}
a:hover {
	color:#CA5466;
	text-decoration:underline;
}

.STYLE1 {
	font-size: 12px
}

.STYLE3 {
	font-size: 12px;
	font-weight: bold;
}

.STYLE4 {
	color: #03515d;
	font-size: 12px;
}

.td_bg {
	font-size: 13px;
	background: #fff;
	border:1px solid #6495ED;
}

/*表单项的字体格式*/
.td_x_bg {
	font-size: 13px;
	font-weight: bold;
	text-align: center;
	background: #BDE3FB;
	border:1px solid #6495ED;
	height:40px;
} 

.table {
	margin-top: 10px;
}

</style>
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/checkUtil.js"></script>
	<script type="text/javascript" src="js/WebCalendar.js"></script>
	
	</head>

	<body>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td height="30" background="images/main/tab_05.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="30">
								<img src="images/main/tab_03.gif" width="12" height="30" />
							</td>
							<td>
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="46%" valign="middle">
											<table width="100%" border="0" cellspacing="0"
												cellpadding="0">
												<tr>
													<td width="5%">
														<div align="center">
															<img src="images/main/tb.gif" width="16" height="16" />
														</div>
													</td>
													<td width="95%" class="STYLE1">
														<span class="STYLE3">你当前的位置</span>：[例会记录]-[修改例会记录]
													</td>
												</tr>
											</table>
										</td>
										<td width="54%">
											<table border="0" align="right" cellpadding="0"
												cellspacing="0">
												<tr>
													<td width="80">
														<table width="90%" border="0" cellpadding="0"
															cellspacing="0">
															<tr>
																<td>
																</td>
															</tr>
														</table>
													</td>
													<td width="60">
														<table width="90%" border="0" cellpadding="0"
															cellspacing="0">
															<tr>
																<td class="STYLE1"></td>
																<td class="STYLE1"><br></td>
															</tr>
														</table>
													</td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<td width="16">
								<img src="images/main/tab_07.gif" width="16" height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="8" background="images/main/tab_12.gif">
								&nbsp;
							</td>
							<td>
								<form action="front/modifyMeetRecord.action" method="post" onsubmit="return checkMeetAdd();">
								<table class="table" border="1" width="70%" align="center"
									cellpadding="2" cellspacing="2" bordercolor="#6495ED">
									<tbody>
										<tr>
											<td class="td_x_bg" colspan="4" style="font-size:20px">
												<nobr>
												修改	知通例会记录 
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_x_bg" width=15% >
												<nobr >
													聚会时间
												</nobr>
											</td>
											<td class="td_bg"   >
												<nobr>
													
													<nobr>
														<input type="text" name="meetRecord.meetDate" id="meetDate" value="<s:date name="meetRecord.meetDate" format="yyyy-MM-dd" nice="false"/>" 
														onclick="SelectDate(this,'yyyy-MM-dd')" readonly="true" style="width:80px;cursor:pointer;border:none"/>
													</nobr>
												</nobr>
											</td>
											<td class="td_x_bg"  width=15% >
												<nobr>
													地点
												</nobr>
											</td>
											<td class="td_bg">
												<nobr>
													<input type="text" name="meetRecord.location" id="location" value="<s:property value="meetRecord.location" />" style="border:none;" />
												</nobr>
											</td>
											
										</tr>
										<tr>
											<td class="td_x_bg" width=15% >
												<nobr>
													组名
												</nobr>
											</td>
											<td class="td_bg" >
												<nobr>
													<input type="radio" name="meetRecord.group.id" value="2" <s:if test="meetRecord.group.id == 2" >checked="checked"</s:if> />Java
													<input type="radio" name="meetRecord.group.id" value="3" <s:if test="meetRecord.group.id == 3" >checked="checked"</s:if> />PHP
												</nobr>
											</td>
											<td class="td_x_bg" width=15% >
												<nobr>
													周数
												</nobr>
											</td>
											<td class="td_bg" >
												<nobr>
													<select size="1" id="schoolYear" name="meetRecord.schoolYear">
														<option value="20082009" <s:if test="meetRecord.schoolYear == 20082009" >selected</s:if> >08-09</option>
														<option value="20092010" <s:if test="meetRecord.schoolYear == 20092010" >selected</s:if> >09-10</option>
														<option value="20102011" <s:if test="meetRecord.schoolYear == 20102011" >selected</s:if> >10-11</option>
													</select>
													学年
													第
													<select size="1" id="" name="meetRecord.semester">
														<option value="1" <s:if test="meetRecord.semester == 1" >selected</s:if>>1</option>
														<option value="2" <s:if test="meetRecord.semester == 2" >selected</s:if>>2</option>
													</select>
													学期
													第
													<select size="1" id="weekNum" name="meetRecord.weekNum">
														<%
														 	for(int i = 1;i<= 22;i++) {
														 	pageContext.setAttribute("i", i);
														 %>
														 	<option value='<%=i%>' <s:if test="meetRecord.weekNum == #attr.i" >selected</s:if> ><%=i%></option>
														 <%
														 	}
														%>
													</select>
													周
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_x_bg"  width=15% >
												<nobr>
													开始时间
												</nobr>
											</td>
											<td class="td_bg">
												<nobr>
													<input type="hidden" name="meetRecord.startTime" id="startTime" value="" />
													<select size="1" id="startTimeH" name="startTimeH">
														<%
														 	for(int i = 0;i<= 24;i++) {
														 		pageContext.setAttribute("i", i);
														 %>
														 	<option value='<%=i%>' <s:if test="meetRecord.startTime.substring(0,2) == #attr.i" >selected</s:if> >
														 		<s:if test="#attr.i < 10">0</s:if><%=i%>
														 	</option>
														 <%
														 	}
														%>
													</select>
													<b>:</b>
													<select size="1" id="startTimeM" name="startTimeM">
														<%
														 	for(int i = 0;i<= 60;i++) {
														 		pageContext.setAttribute("i", i);
														 %>
														 	<option value='<%=i%>' <s:if test="meetRecord.startTime.substring(2,4) == #attr.i" >selected</s:if> >
														 		<s:if test="#attr.i < 10">0</s:if><%=i%>
														 	</option>
														 <%
														 	}
														%>
													</select>
												</nobr>
											</td>
											<td class="td_x_bg"  width=15% >
												<nobr>
													结束时间
												</nobr>
											</td>
											<td class="td_bg">
												<nobr>
													<input type="hidden" name="meetRecord.endTime" id="endTime" value="" />
													<select size="1" id="endTimeH" name="endTimeH">
														<%
														 	for(int i = 0;i<= 24;i++) {
														 		pageContext.setAttribute("i", i);
														 %>
														 	<option value='<%=i%>' <s:if test="meetRecord.endTime.substring(0,2) == #attr.i" >selected</s:if> >
														 		<s:if test="#attr.i < 10">0</s:if><%=i%>
														 	</option>
														 <%
														 	}
														%>
													</select>
													<b>:</b>
													<select size="1" id="endTimeM" name="endTimeM" >
														<%
														 	for(int i = 0;i<= 60;i++) {
														 		pageContext.setAttribute("i", i);
														 %>
														 	<option value='<%=i%>' <s:if test="meetRecord.endTime.substring(2,4) == #attr.i" >selected</s:if> >
														 		<s:if test="#attr.i < 10">0</s:if><%=i%>
														 	</option>
														 <%
														 	}
														%>
													</select>
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_x_bg"  width=15% >
												<nobr>
													主持人
												</nobr>
											</td>
											<td class="td_bg">
												<nobr>
													<input type="text" name="meetRecord.organizer.name" id="organizer" value="<s:property value="meetRecord.organizer.name" />" style="border:none;" />
												</nobr>
											</td>
											<td class="td_x_bg" width=15% >
												<nobr>
													记录人
												</nobr>
											</td>
											<td class="td_bg">
												<nobr>
													<input type="text" name="meetRecord.recorder.name" id="recorder" value="<s:property value="meetRecord.recorder.name" />" style="border:none;" />
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_x_bg" width=15% >
												<nobr>
													出席人员
												</nobr>
											</td>
											<td class="td_bg" colspan="3" >
												<nobr>
													<input type="text" name="meetRecord.joiner" id="joiner" value="<s:property value="meetRecord.joiner" />" size="100" style="border:none;" />
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_x_bg"  width=15% >
												<nobr>
													请假
												</nobr>
											</td>
											<td class="td_bg">
												<nobr>
													<input type="text" name="meetRecord.leaver"id="leaver" value="<s:property value="meetRecord.leaver" />" size="40" style="border:none;" />
												</nobr>
											</td>
											<td class="td_x_bg" width=15% >
												<nobr>
													缺席（未请假）
												</nobr>
											</td>
											<td class="td_bg">
												<nobr>
													<input type="text" name="meetRecord.absence" id="absence" value="<s:property value="meetRecord.absence" />" size="40" style="border:none;" />
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_x_bg"  width=15% >
												<nobr>
													列席
												</nobr>
											</td>
											<td class="td_bg" colspan="3">
												<nobr>
													<input type="text" name="meetRecord.hearer" id="hearer" value="<s:property value="meetRecord.hearer" />" size="100" style="border:none;" />
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_x_bg" colspan="4" >
												<nobr>
													会议讨论及决定的主要事项
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_bg" colspan="4" >
												<input type="hidden" name="meetRecord.mainContent" value="<s:property value="meetRecord.mainContent" />">
												<script src="/ztmStruts2/FCKeditor/fckeditor.js" ></script>
												<script>
										            var editor = new FCKeditor('meetRecord.mainContent');
										            editor.BasePath = '/ztmStruts2/FCKeditor/';
										            editor.Height = 200;
										            editor.Width = 800;
										            editor.ToolbarSet = 'answer';
										            editor.Create();
										         </script>			
											</td>
										</tr>
										<tr>
											<td class="td_x_bg" colspan="4">
												<nobr>
													后续需要跟踪的事情
												</nobr>
											</td>
										</tr>
										<tr>
											<td class="td_bg" colspan="4" >
											<input type="hidden" name="meetRecord.followThing" value="<s:property value="meetRecord.followThing" />">
												<script>
										            var editor = new FCKeditor('meetRecord.followThing');
										            editor.BasePath = '/ztmStruts2/FCKeditor/';
										            editor.Height = 200;
										            editor.Width = 800;
										            editor.ToolbarSet = 'answer';
										            editor.Create();
										         </script>				
											</td>
										</tr>
										<tr>
											<td class="td_x_bg" colspan="4" >
												<input type="hidden" name="meetRecord.id" value="<s:property value="meetRecord.id" />" />
												<input type="submit" value="提交" style="width:80px;height:35px;margin:10px;" />
											</td>
										</tr>
									</tbody>
								</table>
								</form>
							</td>
							<td width="8" background="images/main/tab_15.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="35" background="images/main/tab_19.gif">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="12" height="35">
								<img src="images/main/tab_18.gif" width="12" height="35" />
							</td>
							<td>
								<form action="" method="get">
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td>
												&nbsp;
											</td>
										</tr>
									</table>
								</form>
							</td>
							<td width="16">
								<img src="images/main/tab_20.gif" width="16" height="35" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</body>
</html>
